import Vue from 'vue'
import App from './App'

import Httphelper from './util/HttpHelper.js'
import './util/vue-prototype.js'
Vue.prototype.$httphelper = Httphelper;

App.mpType = 'app'

import uView from "uview-ui";
Vue.use(uView);
// 引入公共css
// import "/wxcomponents/vant/common/index.wxss";
import Alerts from './components/zu-ui/alert/index.vue'
Vue.component("Alerts", Alerts)
// 移动端首页头部
import Mosearch from './components/moheader/index'
Vue.component("Mosearch", Mosearch)
// 移动端非首页头部
import hsearch from './components/mo_header/index'
Vue.component("hsearch", hsearch)
// 热点文章
import JusTinTime from './components/justInTime/index'
Vue.component("JusTinTime", JusTinTime)
// 移动端底部
import Mofoot from './components/mofoot/index'
Vue.component("Mofoot", Mofoot)
// 移动端头部其他页面的组件
import HHeader from './components/mo_header/index'
Vue.component("HHeader", HHeader)
// 导航
import Navigation from './components/navigation/navigation'
Vue.component("Navigation", Navigation)
// 专题推荐
import SpecialRecomm from './components/specialRecomm/index.vue'
Vue.component("SpecialRecomm", SpecialRecomm)
// 分页
import pagepagination from './components/page-pagination/components/page-pagination/page-pagination.vue'
Vue.component("pagepagination", pagepagination)

const app = new Vue({
	...App
})
app.$mount()
